<#--
/****************************************************
 * Description: 学生作文的简单列表页面，没有编辑功能
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-07-17 bfsu Create File
**************************************************/
-->
<#include "/view/templates/ace/ace-inc.ftl">
<div class="table-responsive">
<@list>
<table class="table">
    <thead>
        <tr>
            <th data-options="field:'ids',checkbox:true"></th>
            <th>文件名称</th>
          	<th>存储文件名</th>
            <th>文件路径</th>
             <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <#if page.items?exists>
    <#list page.items as item>
            <tr>
                <td>${item.id}</td>
                <td>${item.fileTitle}</td>
                <td>${item.fileRealname}</td>
                <td>${item.filePath}</td>

                <td>
                    <a href="${base}/components/file/download/${item.id}"  class="button" iconCls="icon-hard">下载</a>
                    <a href="#" onclick="update('${base}/components/file/delete/${item.id}','listForm','删除文件？');" class="button" iconCls="icon-remove">删除</a>
                </td>
            </tr>
            </#list>
    </#if>

    </tbody>
</table>
</@list>
</div>